#ifndef SPAWNER_H
#define SPAWNER_H
#include "object.h"

class CObject;

class CSpawner : public CObject {
public:
    CSpawner(CScene* scene);
    CSpawner(int tx, int ty, CScene* scene, int shp);
    virtual void Do();
    virtual void Draw();
    void Spawn(int wx, int wy);
    void ReFill(int what, int shp);
    void Pause();

private:
    CScene *gamescene;
    int numcreeps;
    bool paused;
    int dhp;
};

#endif // SPAWNER_H
